<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .container {
            width: 900px;
            height: 900px;
            border: 1px solid black;
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;

            grid-template-rows: 100px 200px 200px;
        }

    </style>
</head>

<body>
    <div class="container">
        <div class="item" style="background-color: pink;">1</div>
        <div class="item" style="background-color: green;">2</div>
        <div class="item" style="background-color: yellowgreen;">3</div>
        <div class="item" style="background-color: purple;">4</div>
        <div class="item" style="background-color: goldenrod;">5</div>
        <div class="item" style="background-color: lime;">6</div>
        <div class="item" style="background-color: pink;">7</div>
        <div class="item" style="background-color: green;">8</div>
        <div class="item" style="background-color: yellowgreen;">9</div>
    </div>
</body>

</html>